// 去除扩展名的逗点
const trimExt = ( extWithPoint = '' )=>{
  if (extWithPoint.startsWith('.') ){
    return extWithPoint.slice(1)
  }
  return extWithPoint;
}

module.exports = {
  trimExt,
}